
<!-- 博主个人信息修改页面 -->
{{extend '../app_layout/blog_info_layout.html'}}

{{block 'blog_info_layout_css'}}
    <link rel="stylesheet" href="/css/person_set/person_set_info.css">
{{/block}}

{{block 'blog_info_layout_content'}}
    <!-- 我的信息 -->
    <div class="set-right">
            <div class="right-title">
                <h3>修改个人信息</h3>
               
            </div>
            <div class="change-info">
                <div class="change-content">
                    <form class="change-form">
                        <div>
                            <span>实名:</span>
                            <input value="{{userDate.realName}}" id="relName" placeholder="请输入您的真实名字">
                            
                        </div>
                        <div class="gender">
                            <span>性别:</span>
                            <select id="gender" value="body">
                                {{if userDate.gender === '*'}}
                                    <option value="*" selected>请选择</option>
                                    <option value="男">男</option>
                                    <option value="女">女</option>
                                {{else if userDate.gender === '男'}}
                                    <option value="*">请选择</option>
                                    <option value="男" selected>男</option>
                                    <option value="女">女</option>
                                {{else}}
                                    <option value="*">请选择</option>
                                    <option value="男">男</option>
                                    <option value="女" selected>女</option>
                                {{/if}}
                            </select>
                        </div>
                        <div class="birthday">
                            <span>生日:</span>
                            <select id="year">
                                {{if userDate.year === '*'}}
                                    <option value="*">年份</option>
                                    {{each userDate.yearArr value index}}
                                        <option value="{{value}}">{{value}}</option>
                                    {{/each}}
                                {{else}}
                                    <option value="*">年份</option>
                                    {{each userDate.yearArr value index}}
                                        {{if value == userDate.year}}
                                            <option value="{{value}}" selected>{{value}}</option>
                                        {{else}}
                                            <option value="{{value}}">{{value}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select> 年
                            <select id="month">
                                {{if userDate.month === '*'}}
                                    <option value="*">月份</option>
                                    {{each userDate.monthArr value index}}
                                        <option value="{{value}}">{{value}}</option>
                                    {{/each}}
                                {{else}}
                                    <option value="*">月份</option>
                                    {{each userDate.monthArr value index}}
                                        {{if value === userDate.month}}
                                            <option value="{{value}}" selected>{{value}}</option>
                                        {{else}}
                                            <option value="{{value}}">{{value}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select> 月
                            <select id="data">
                                {{if userDate.data === '*'}}
                                    <option value="*">日期</option>
                                    {{each userDate.dataArr value index}}
                                        <option value="{{value}}">{{value}}</option>
                                    {{/each}}
                                {{else}}
                                    <option value="*">日期</option>
                                    {{each userDate.dataArr value index}}
                                        {{if value == userDate.data}}
                                            <option value="{{value}}" selected>{{value}}</option>
                                        {{else}}
                                            <option value="{{value}}">{{value}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select> 日
                        </div>
                        <div class="trade">
                            <span>行业:</span>
                            <select id="trade">
                                {{if userDate.trade === '*'}}
                                    <option value="*" selected>行业</option>
                                    {{each userDate.tradeArr value index}}
                                        <option value="{{value}}">{{value}}</option>
                                    {{/each}}
                                {{else}}
                                    <option value="*" selected>行业</option>
                                    {{each userDate.tradeArr value index}}
                                        {{if value === userDate.trade}}
                                            <option value="{{value}}" selected>{{value}}</option>
                                        {{else}}
                                            <option value="{{value}}">{{value}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select>
                        </div>
                        <div class="address">
                            <span>地区:</span>
                            <select id="province">
                                {{if userDate.province === '*'}}
                                    <option value="*">省份</option>
                                    {{each userDate.provinceJson value index}}
                                        <option value="{{value.item_code}}">{{value.item_name}}</option>
                                    {{/each}}
                                {{else}}
                                    <option value="*1">省份</option>
                                    {{each userDate.provinceJson value index}}
                                        {{if value.item_name == userDate.province}}
                                            <option value="{{value.item_code}}" selected>{{value.item_name}}</option>
                                        {{else}}
                                            <option value="{{value.item_code}}">{{value.item_name}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select>
                            <select id="city">
                                {{if userDate.city === '*'}}
                                    <option value="*">城市</option>
                                {{else}}
                                    <option value="*">城市</option>
                                    {{each userDate.cityJson value index}}
                                        {{if value.item_name == userDate.city}}
                                            <option value="{{value.item_code}}" selected>{{value.item_name}}</option>
                                        {{else}}
                                            <option value="{{value.item_code}}">{{value.item_name}}</option>
                                        {{/if}}
                                    {{/each}}
                                {{/if}}
                            </select>
                        </div>
                        <div class="intronl">
                            <span>简介:</span>
                            <textarea id="intronl" placeholder="请输入30字以内的简介">{{userDate.intronl}}</textarea>
                        </div>
                    </form>
                    <div class="change-btn clearFix">
                        <a href="javascript:;" class="reject-btn">取消</a>
                        <a href="javascript:;" class="resolve-btn">确认</a>
                    </div>
                </div>
            </div>
    </div>
{{/block}}

 <!-- 留坑 js -->
 {{block 'blog_info_layout_js'}}
    <script src="/js/cityData/cityData.js"></script>
    <script src="/js/person_set/person_set_info.js"></script>
 {{/block}}